← Back to issue list

appstream extractor should search valid directories

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1778699
Type
issue
State
open
Author
~apachelogger
Labels
19.04 19.04-blue 19.04-external
Created
2018-06-26 10:35:17.056914+00:00
Updated
2018-12-13 16:15:15.417647+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

Currently the appstream extractor requires `parse-info` to contain the complete path for appstream files. This is excessively repetitive and useless information as there are only two well defined directories where the files may be located. Should that change in the future it also means every developer needs to update the paths instead of snapcraft doing it once for everyone by updating the search paths there. It would be far superior if the developer specified `org.example.foo.appdata.xml` and the extractor looked for that file in $stage/usr/share/{appinfo,metainfo}/ and relative to snapcraft PWD.

Evaluation history

No evaluation history available.